package com.googlecode.tapestry5validator.hibernate.adapters;

import java.lang.annotation.Annotation;

import org.hibernate.validator.Range;

public class RangeAdapter extends ParametersToJsonAdapter {

	@Override
	public Class<? extends Annotation> getAnnotationClass() {
		return Range.class;
	}

	@Override
	public String getJSMethod() {
		return "hvRange";
	}

	@Override
	public String getValidatorType() {
		return "hv-range";
	}

}
